﻿#ifndef PRODUCTPLANTABLEVIEW_H
#define PRODUCTPLANTABLEVIEW_H

#include "mytableview.h"
#include "productpicker.h"
#include "productplanstandarditemmodel.h"

class ProductPlanTableView : public MyTableView
{
    Q_OBJECT
public:
    explicit ProductPlanTableView(QWidget *parent = nullptr);

    void setSelectionRow();

    void queryPlanProducts();

    void clear();

    void initHiddenState();

    void setListPushButton(ListPushButton *listPushButton);
signals:

public slots:

private:
    ProductPicker productPicker;

    ProductPlanStandardItemModel *model;
};

#endif // PRODUCTPLANTABLEVIEW_H
